# coding: utf8

import pinyin


def getStrAllAplha(hzstr):
    return pinyin.get_initial(hzstr, delimiter="").upper()


def getStrFirstAplha(hzstr):
    hzstr = getStrAllAplha(hzstr)
    hzstr = hzstr[0:1]
    return hzstr.upper()
